package net.lqy.aipan.service;

import net.lqy.aipan.dto.AccountDTO;
import net.lqy.aipan.request.AccountLoginReq;
import net.lqy.aipan.request.AccountRegisterReq;
import net.lqy.aipan.util.JsonData;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;


public interface AccountService {
    JsonData register(AccountRegisterReq request);

    String uploadAvatar(MultipartFile file);

    AccountDTO login(AccountLoginReq request);

    AccountDTO detail(Long id);
}
